<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox-content">
                <div class="row">
                    <form action="<?=url('job.industry/edit',['industry_id'=>$detail->industry_id])?>" id="form-create"
                          method="post" class="form-horizontal" role="form">

                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right"><span
                                    class="c-red">*</span>父级分类：</label>
                            <div class="col-sm-9">
                                <select class="form-control" name="pid">
                                    <option value="0">顶级分类</option>
                                    <?php foreach($industry as $val) { ?>
                                    <option  <?=$detail->pid == $val->industry_id ? 'selected' : ''?> value="<?=$val->industry_id?>"><?=$val->industry_name?></option>
                                    <?php } ?>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right"><span
                                    class="c-red">*</span>行业名称：</label>
                            <div class="col-sm-9">
                                <input type="text" value="<?=isset($detail->industry_name)?$detail->industry_name:''?>" placeholder="" id="industry_name" name="industry_name" class="form-control"/>
                            </div>
                        </div>
                        <div class="clearfix form-actions">
                            <div class="col-md-offset-3 col-md-9">
                                <button mini="submit" for="form-create" class="btn btn-info" type="button">
                                    <i class="ace-icon fa fa-check bigger-110"></i>
                                    保存
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>